package demo.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

/**
 * Created by ldt on 2017/6/23.
 */
public class ClassInterceptor implements Interceptor {
    public void intercept(Invocation invocation) {
        System.out.println("ClassInterceptor拦截器进来了-----------");
        invocation.invoke();
        System.out.println("ClassInterceptor拦截器结束了-----------");
    }
}
